<template>
  <div class="myheader">
    <x-header :title="titleName"></x-header>
  </div>
</template>
<script>
import { XHeader } from 'vux'
export default {
  props: ['titleName'],
  components: {
    XHeader
  }
}
</script>
<style lang="scss" scoped>
.myheader{
position: fixed;
top:0;
width: 100%;
z-index: 100;
}
.vux-header{
  padding: 0;
}
</style>
